package com.camelot.ccr.global.util.comparator.example;

import com.alibaba.fastjson.JSON;

/**
 * <pre>
 * 普通的javabean对象，使用实例
 * </pre>
 * @author chendd
 * @version V0.1, 2014-4-8 上午11:00:20
 */
public class ComparatorExample {

	private Integer id;
	private String name;
	private String address;
	
	public ComparatorExample(){
		
	}
	
	public ComparatorExample(Integer id,String name){
		this.id = id;
		this.name = name;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String toString() {
		
		return JSON.toJSONString(this);
	}

}
